package com.xd.core.debt.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author ZX
 * @since 2025-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DebtTransRelate对象", description="")
@Builder
public class DebtTransRelate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "债权id")
    private Integer debtId;

    @ApiModelProperty(value = "交易流水id")
    private String orderNo;

    @ApiModelProperty(value = "剩余应还本金")
    private BigDecimal remainingShouldRepayPrincipal;

    @ApiModelProperty(value = "剩余应还利息")
    private BigDecimal remainingShouldRepayInterest;

    @ApiModelProperty(value = "罚息")
    private BigDecimal defaultInterestTodo;

    @ApiModelProperty(value = "债权价值")
    private BigDecimal debtValue;

    @ApiModelProperty(value = "逾期利息")
    private BigDecimal overdueInterest;

    @ApiModelProperty(value = "购债金额（单条债权）")
    private BigDecimal purchaseAmountOfBonds;

    @ApiModelProperty(value = "现债权方")
    private String originalCreditor;
}
